<md-content>
  <div id="qecode"></div>
  <md-content class="form-panel" style="overflow: hidden;">
    <div  ng-repeat="iter in $ctrl.selectForm" class="n-box-dis n-box-posti">
      <spna class="btnlable" style="top: 0;">{{iter.title}}</spna>
      <md-input-container class="n-datechildb">
        <!--<label>{{iter.title}}</label>-->
        <md-select ng-model="$ctrl.formData[iter.key]"  style="width: 183px;height: 28px;margin-top: -6px;padding-left: 0;">
          <!--<md-option><em>None</em></md-option>-->
          <md-option ng-repeat="op in iter.option" ng-value="op.value">
            {{op.label}}
          </md-option>
        </md-select>
      </md-input-container>
    </div>
    <div ng-repeat="iter in $ctrl.inputForm" class="n-box-dis">
      <span class="btnlable">{{iter.maintitle}}</span>
      <md-input-container class="n-datechildb"  ng-keydown="$ctrl.doAction($event)">
        <label class="btnlableplnone">{{iter.title}}</label>
        <input ng-model="$ctrl.formData[iter.key]" ng-disabled="iter.control">
      </md-input-container>
    </div>
    <md-input-container class="n-box-fr" style="margin-top: -5px;">
      <md-button class="md-raised currency-query-btn" ng-repeat="iter in $ctrl.buttonForm" ng-click="iter.doAction()">
        {{iter.title}}
      </md-button>
    </md-input-container>
  </md-content>
  <md-content class="form-panel man-list-back" >
    <div class="man-list-auto" style="width: 100%;">
      <ul class="man-list" layout="column" flex>
        <li ng-show="$ctrl.metList.data.totals === 0" >
          <div class="w1240 search-null" >
            <img src="assets/icon_null.png" alt="">
            <span>抱歉，没有查询到相关会议信息~</span>
          </div>
        </li>
        <li ng-repeat="inter in $ctrl.metList.data.data" layout="row" flex="nowrap">
          <div class="man-list-li-left" flex="12" >
            <a ng-href="#!/meeting-administration-send-preview?meetcode={{inter.meetid}}">
              <i>{{inter.meetstate | meetstate}}</i>
              <div style="width:199px;height:132px;border:1px solid #e7eaec;display:table;text-align: center">
                <div style="display:table-cell;vertical-align: middle;">
                  <img ng-src="{{inter.img}}" class="meeting-list-img" style="max-width:199px;height:125px;">
                </div>
              </div>
            </a>
          </div>
          <div class="man-list-li-middle" flex>
            <a ng-href="#!/meeting-administration-send-preview?meetcode={{inter.meetid}}">
              <h6>{{inter.title}}</h6>
            </a>
            <span class="number">（会议编号{{inter.meetNO}}）</span>
            <span>会议日期：{{inter.starttime}}-{{inter.endtime}}</span>
            <span>报名截止时间：{{inter.bmend}}&emsp;&emsp;<span class="dis-block dis-address" ng-show="inter.address">地址：{{inter.areastr}}{{inter.address}}</span></span>
            <span>报名人数：{{inter.bmnum | numberPeople}}&emsp;&emsp;<span class="dis-block" ng-show="inter.ticketCount">门票总收入：{{inter.ticketCount}}</span>&emsp;&emsp;<span class="dis-block" ng-show="inter.sponsorCount">赞助总收入：{{inter.sponsorCount}}</span></span>
          </div>
          <div class="man-list-li-right" flex="35">
            <a ng-if="inter.isEditButton === 1" ng-href="#!/meeting-administration-compile?meetcode={{inter.meetid}}&meetNO={{inter.meetNO}}">会议编辑</a>
            <a ng-if="inter.isLinkButton === 1" ng-click="$ctrl.seeLink(inter.meeturl)">查看链接</a>
            <a ng-if="inter.isAttendeeButton === 1" ng-href="#!/administration-participants?meetcode={{inter.meetNO}}&meetname={{inter.title}}">参会者管理</a>
            <a ng-if="inter.isOrderButton === 1" ng-href="#!/administration-order?meetNum={{inter.meetNO}}&meetname={{inter.title}}">订单管理</a>
            <a ng-if="inter.isSponsorButton === 1" ng-href="#!/meeting-sponsor-apply?meetcode={{inter.meetNO}}&meetname={{inter.title}}">赞助管理</a>
            <a ng-if="inter.isPreviewButton === 1" ng-href="#!/meeting-administration-send-preview?meetcode={{inter.meetid}}">发布预览</a>
            <a class="upload" href="javascript:void(1)" ng-if="inter.isUploadButton === 0" >+上传资料</a>
            <a class="upload" ng-click="addSeesion(inter.meetNO)" href="#!/meeting-administration-upload-data?meetcode={{inter.meetid}}" ng-if="inter.isUploadButton === 1" ng-class="inter.isUploadButton === 1 ? 'active':''" >+上传资料</a>
          </div>
        </li>
      </ul>
    </div>
  </md-content>

</md-content>

